<script lang="ts">
	import StrategyEditor from '$lib/StrategyEditor.svelte'
	import type { PageData } from './$types'

	export let data: PageData
</script>

<div class=" w-full h-svh overflow-auto bg-gray-200">
	{#if data.tradeStrategy}
		<StrategyEditor tradeStrategy={data.tradeStrategy}></StrategyEditor>
	{/if}
</div>
